import Vue from 'vue'
import App from './App'
import utils from "@/utils/utils.js"
import request from '@/utils/request.js'
import Bridge from '@/utils/dsbridge.js'
import Api from "@/utils/Api.js"
import uView from "uview-ui";
// import './uni.promisify.adaptor'
import SMS from '@/components/SMS.vue'
import listSpace from '@/components/listSpace.vue'
// import Vconsole from 'vconsole'
// let vConsole = new Vconsole();
// export default vConsole
Vue.component('sms', SMS)
Vue.component('list-space', listSpace)
Vue.prototype.$bridge = Bridge;
Vue.prototype.$request = request.sendRequest
Vue.prototype.$Api = Api
Vue.prototype.$utils = utils
Vue.use(uView);
App.mpType = 'app'

const app = new Vue({
  ...App
})
app.$mount()
